Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 2 - 3D Viewer / 3D Viewer Reference
3D Viewer Routines / Creating and Configuring Viewers


Q3ViewerDraw

You can use the Q3ViewerDraw function to draw a viewer object.

OSErr Q3ViewerDraw (TQ3ViewerObject theViewer);
theViewer
A viewer object.
DESCRIPTION
The Q3ViewerDraw function draws the viewer object specified by the theViewer parameter. You need to call this function only if the viewer flags or other visible features of a viewer have changed. For example, to change a viewer's pane, you need to call Q3ViewerSetBounds followed by Q3ViewerDraw. Similarly, if the viewer flags of a new viewer object have the kQ3ViewerActive flag clear, then to make the viewer object active you need to set that flag by calling Q3ViewerSetFlags and then draw the viewer by calling Q3ViewerDraw.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996